using System;

namespace ShopB2C.Entity
{
    [Serializable]
    public class ShopCarEntity
    {
        /// <summary>
        /// 无参构造函数
        /// </summary>
        public ShopCarEntity() { }
        /// <summary>
        /// 购买数量
        /// </summary>
        public Int32 Count { get; set; }
        /// <summary>
        /// 加入日期
        /// </summary>
        public DateTime AddDate { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public String Description { get; set; }
        /// <summary>
        /// 关联的用户ID
        /// </summary>
        public Int32 Uid { get; set; }
        /// <summary>
        /// 关联的商品ID
        /// </summary>
        public Int32 ProductId { get; set; }
        /// <summary>
        /// 用户可选的自定义属性
        /// </summary>
        public string Property { get; set; }
        /// <summary>
        /// 购物车类型,可能是购物车，可能是收藏夹
        /// </summary>
        public int CartType { get; set; }
    }
}
